<!DESCRIPTION>This handy script lets you auto-generate the day and year in a drop down selection as well as validate the date. Add it to your pages that require date validation. <!/DESCRIPTION>
<!CATEGORY>Forms<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<!-- HOW TO INSTALL DATE SELECTION FORM:
1. Copy code into the HEAD section of document
2. Add the onLoad event handler into the BODY tag
3. Put last coding into the BODY section of document -->
<!-- STEP ONE: Add code into HEAD section of document -->
<HEAD>
<!-- Original: Satish A (sat76to99@yahoo.com) -->
<Script Language="JavaScript">
function populate(inForm)
{
var temp=0;
var today= new Date();
var day= today.getDate();
var month= today.getMonth();
var year= today.getFullYear();
t2= prompt("Enter the number of years to fetch",1);